package com.situ.mall.pojo.query;

public class UserQuery {
    private Integer page;
    private Integer limit;
    private String username;
    private Integer age;
    private Integer role;

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "UserQuery{" +
                "page=" + page +
                ", limit=" + limit +
                ", username='" + username + '\'' +
                ", age=" + age +
                '}';
    }
}
